#include "homework1.h"
#include "ui_homework1.h"

homework1::homework1(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::homework1)
{
    ui->setupUi(this);
}

homework1::~homework1()
{
    delete ui;
}


void homework1::on_pushButton_pressed()
{
    ui->lineEdit_password->setEchoMode(QLineEdit::Normal);
}


void homework1::on_pushButton_released()
{
    ui->lineEdit_password->setEchoMode(QLineEdit::Password);
}

